package com.lix.service.workflow;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lix.base.BaseResult;
import com.lix.pojo.model.Loan;
import com.lix.vo.workflow.req.LoanReq;

public interface ILoanService extends IService<Loan> {

    BaseResult add(Loan loan);

    /**
     * 条件分页查询借款列表
     *
     * @param req
     * @return
     */
    BaseResult listPage(LoanReq req);

    BaseResult update(Loan loan);

}